<?php $this->load->view('header-dashboard'); ?>

    <div id="pie1" style="margin-top:20px; margin-left:20px; width:200px; height:200px;"></div>

<a href="#" onclick="javascript : test();">test</a>
<?php $this->load->view('footer-dashboard'); ?>